package org.gjy.m8.basic;

import org.junit.Test;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-12-08 14:11:26
 */
public class TryTest {

    @Test
    public void test1() {
        System.out.println("a() = " + a());
    }

    private String a() {
        try {
            int c = 1 / 0;
            return "try";
        } catch (Exception e) {
            e.printStackTrace();
            return "catch";
        } finally {
            System.out.println("fff");
        }
    }
}
